<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
    <meta name="renderer" content="webkit">
    <title>用户信息</title>
    <!-- 公共样式 开始 -->
    <link rel="stylesheet" type="text/css" href="../../css/base.css">
    <link rel="stylesheet" type="text/css" href="../../fonts/iconfont.css">
    <script type="text/javascript" src="../../framework/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../../layui/css/layui.css">
    <script type="text/javascript" src="../../layui/layui.js"></script>
    <script src="../../framework/cframe.js"></script><!-- 仅供所有子页面使用 -->
    <!-- 公共样式 结束 -->
</head>
<body>
<!--用户表格信息-->
<table class="layui-hide" id="userDataTable"></table>

</body>
<script>
    layui.use(['table'], function () {
        let table = layui.table;

        /*加载表格数据*/
        table.render({
            elem: '#userDataTable',
            id: 'userDataTable',
            url: "../web-user/user/findUsersInfo",
            method: 'get',
            cols: [[
                {field: 'uname', title: '昵称'},
                {field: 'phone', title: '手机号码'},
                {field: 'email', title: '邮箱'},
                {field: 'sex', title: '性别'},
                {field: 'birthday', title: '生日'},
            ]],
            height: $(document).height() - $('#userDataTable').offset().top - 20,

        });
    });

</script>
</html>